<!DOCTYPE html>
<html lang="en">
    
<head>
        <title>欢迎登录</title><meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<link rel="stylesheet" href="{{asset('/AdminCss/css/bootstrap.min.css')}}" />
		<link rel="stylesheet" href="{{asset('/AdminCss/css/bootstrap-responsive.min.css')}}" />
        <link rel="stylesheet" href="{{asset('/AdminCss/css/matrix-login.css')}}" />
        <link href="{{asset('/AdminCss/font-awesome/css/font-awesome.css')}}" rel="stylesheet" />
		<!-- <link href='http://fonts.useso.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'> -->

    </head>
    <body>
        <div id="loginbox"> 
            <div class="col-md-3 col-md-offset-4">
                    @if(session('success'))
                         <div class="alert alert-success alert-dismissable">
                        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                         {{session('success')}}
                        </div>
                     @endif   
                    @if(session('error'))
                         <div class="alert alert-danger alert-dismissable">
                        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                          {{session('error')}}
                </div>
                     @endif        
            <form id="loginform" class="form-vertical" action="{{url('Home/insert')}}" method="post">
				 <div class="control-group normal_text"> <h3><a href="/"><img src="/HomeCss/images/logo-4.png" alt="" /></a></h3></div>
                <div class="control-group">
                    <div class="controls">
                        <div class="main_input_box">
                            <span class="add-on bg_lg"><i class="icon-user"></i></span><input type="text" name="username" placeholder="用户名" />
                        </div>
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <div class="main_input_box">
                            <span class="add-on bg_ly"><i class="icon-lock"></i></span><input type="password" name="password" placeholder="密码" />
                        </div>
                    </div>
                </div>
                <div class="form-actions">
                    <span class="pull-left"><a href="#" class="flip-link btn btn-info" id="to-recover">忘记密码？</a></span>
                    <span class="pull-right"><button class="btn btn-success" /> 登录</button></span>
                </div>
                {{csrf_field()}}
            </form>
            <form id="recoverform" action="{{url('Home/update')}}" class="form-vertical" method="post">
				<p class="normal_text">请填写您需要找回帐号的邮箱找回密码</p>
				
                    <div class="controls">
                        <div class="main_input_box">
                            <span class="add-on bg_lo"><i class="icon-envelope"></i></span><input name="email" type="text" placeholder="邮箱地址" />
                        </div>
                    </div>
               
                <div class="form-actions">
                    <span class="pull-left"><a href="#" class="flip-link btn btn-success" id="to-login">&laquo; 重新登录</a></span>
                    <span class="pull-right"><button class="btn btn-info"/>找回密码</button></span>
                </div>
                 {{csrf_field()}}
            </form>
        </div>
        
        <script src="{{asset('/AdminCss/js/jquery.min.js')}}"></script>  
        <script src="{{asset('/AdminCss/js/matrix.login.js')}}"></script> 
    </body>

</html>
